Leat\Infrastructure\Repositories\WPSpendRuleRepository S

Total Complexity 32
Dependencies 5
Dependents 1
Total lines 292
Lines of code 175
Logical lines of code 74
Comment lines 61
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
create_or_update()
S
44 6 45
get_rules_by_type()
S
50 5 30
get_applicable_rule()
S
58 5 16
create_or_update_from_reward()
S
54 3 22
get_by_uuid()
S
56 3 17
get_rules()
S
57 3 16
get_by_id()
S
68 3 7
delete_by_uuid()
S
58 2 15
__construct()
S
76 1 4
get_active_rules()
S
79 1 3